package com.xiaoshuidi.cloud.module.rooms.api.map;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.rooms.api.map.vo.GetHFAdministrativeVO;
import com.xiaoshuidi.cloud.module.rooms.enums.ApiConstants;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = ApiConstants.SERVERNAME)
public interface BaiDuMapAppApi {

    String PREFIX = ApiConstants.PREFIX + "/baidumap";

    /**
     * 获取合肥行政区域
     *
     * @return
     */
    @Operation(summary = "获取合肥行政区域")
    @GetMapping(PREFIX + "/HF-administrative")
    public CommonResult<List<GetHFAdministrativeVO>> getHFAdministrative();

}
